
import request from '@/utils/request'

/**
 * @description: 生产交付
 * @param {*} data
 * @return {*}
 */
export function saveResultOrder(data) {
  return request({
    url: '/api/mes/task/hand_over',
    method: 'post',
    data
  })
}

/**
 * @description: 生产交付
 * @param {*} data
 * @return {*}
 */
export function getResultPage(data) {
  return request({
    url: '/api/mes/result/page',
    method: 'post',
    data
  })
}

/**
 * @description: 交付方式
 * @param {*} data
 * @return {*}
 */
export function resultListPreOptions() {
  return request({
    url: '/api/mes/result/list_pre_options',
    method: 'get'
  })
}
